package com.cxx.purchasecharge.component.bean;

import java.util.List;

public class GoodsStorageBean extends BaseBean
{
    private static final long serialVersionUID = 1L;

    private String id;
    private GoodsBean goodsBean;

    /**
     * 初始库存
     */
    private long initialStock;
    /**
     * 当前库存
     */
    private long currentStock;
    /**
     * 最低库存
     */
    private long minStock;
    /**
     * 最高库存
     */
    private long maxStock;

    private String createTime;
    private String updateTime;
    private String userCreated;
    private String userUpdated;
    private String comment;

    private List <GoodsStorageBean> children;
    private boolean isGoods;
    private String state = "closed";

    public String getId ()
    {
        return id;
    }

    public void setId (String id)
    {
        this.id = id;
    }

    public GoodsBean getGoodsBean ()
    {
        return goodsBean;
    }

    public void setGoodsBean (GoodsBean goodsBean)
    {
        this.goodsBean = goodsBean;
    }

    public long getInitialStock ()
    {
        return initialStock;
    }

    public void setInitialStock (long initialStock)
    {
        this.initialStock = initialStock;
    }

    public long getCurrentStock ()
    {
        return currentStock;
    }

    public void setCurrentStock (long currentStock)
    {
        this.currentStock = currentStock;
    }

    public long getMinStock ()
    {
        return minStock;
    }

    public void setMinStock (long minStock)
    {
        this.minStock = minStock;
    }

    public long getMaxStock ()
    {
        return maxStock;
    }

    public void setMaxStock (long maxStock)
    {
        this.maxStock = maxStock;
    }

    public String getCreateTime ()
    {
        return createTime;
    }

    public void setCreateTime (String createTime)
    {
        this.createTime = createTime;
    }

    public String getUpdateTime ()
    {
        return updateTime;
    }

    public void setUpdateTime (String updateTime)
    {
        this.updateTime = updateTime;
    }

    public String getUserCreated ()
    {
        return userCreated;
    }

    public void setUserCreated (String userCreated)
    {
        this.userCreated = userCreated;
    }

    public String getUserUpdated ()
    {
        return userUpdated;
    }

    public void setUserUpdated (String userUpdated)
    {
        this.userUpdated = userUpdated;
    }

    public String getComment ()
    {
        return comment;
    }

    public void setComment (String comment)
    {
        this.comment = comment;
    }

    public List <GoodsStorageBean> getChildren ()
    {
        return children;
    }

    public void setChildren (List <GoodsStorageBean> children)
    {
        this.children = children;
    }

    public boolean isGoods ()
    {
        return isGoods;
    }

    public void setGoods (boolean isGoods)
    {
        this.isGoods = isGoods;
    }

    public String getState ()
    {
        return state;
    }

    public void setState (String state)
    {
        this.state = state;
    }
}
